home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / sue_pota.swf / scripts / DefineButton2_235 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  383 b   |  20 lines

  1. on(press){
  2.    if(_parent.water.use)
  3.    {
  4.       if(_parent.water._currentframe == 4)
  5.       {
  6.          _parent.water.gotoAndStop(1);
  7.          this.gotoAndStop(3);
  8.       }
  9.       else if(_parent.water._currentframe == 5)
  10.       {
  11.          _parent.water.gotoAndStop(1);
  12.          this.gotoAndStop(95);
  13.       }
  14.    }
  15.    else
  16.    {
  17.       _parent.water.gotoAndStop(1);
  18.    }
  19. }
  20.